package com.liangzi.service_core.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 就诊卡表
 * </p>
 *
 * @author zhj
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "VisitMedicalCard对象", description = "就诊卡表")
public class VisitMedicalCard implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "就诊卡ID")
    @TableId(value = "medical_card_id", type = IdType.ASSIGN_ID)
    private String medicalCardId;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "就诊卡人姓名")
    private String medicalCardName;

    @ApiModelProperty(value = "就诊卡人性别")
    private Integer medicalCardSex;

    @ApiModelProperty(value = "就诊卡人地址")
    private String medicalCardAddress;

    @ApiModelProperty(value = "就诊卡用户的身份证号")
    private String medicalCardUserIdcard;

    @ApiModelProperty(value = "就诊卡用户手机号")
    private String medicalCardPhone;

    @ApiModelProperty(value = "用户预约次数")
    private Long medicalCardBookingCount;

    @ApiModelProperty(value = "用户爽约次数")
    private Long medicalCardBookingFailCount;

    @ApiModelProperty(value = "用户余额")
    private BigDecimal medicalCardBalance;

    @ApiModelProperty(value = "是否可用 1 可用 0 不可用")
    private Boolean medicalCardStatus;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "备注信息")
    private String remark;


}
